home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 771 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  1.5 KB

  1. From: solution@gate.net (Ken Walter)
  2. Message-ID: <4ik2kt$106c@news.gate.net>
  3. X-Original-Date: 18 Mar 1996 16:22:53 GMT
  4. Path: in1.uu.net!bounce-back
  5. Date: 18 Mar 96 23:37:08 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Newsgroups: comp.std.c++
  8. Subject: Re: Anyone considered inheritable friendship?
  9. Organization: Solution Technology
  10. References: <4fnrfr$7b1@engnews1.Eng.Sun.COM> <AFwV3Hn027@qsar.chem.msu.su>
  11. X-Newsreader: NeoLogic News for OS/2 [version: 4.2]
  12. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  13.     iQBFAgUBMU3zrOEDnX0m9pzZAQG5BwF8DGfMOjTUtY9kiRXcGHyYboCwaWj8FR/B
  14.     R28c7Ut8hh75FFmvrkOiXMcCCmrEdiUu
  15.     =EOZZ
  16.  
  17. Inheirated friends could be thought of as a notational alternative of class 
  18. member functions.  Its used like that for operators at times.
  19. There isn't any 'this', but access with given to all parameters of that class.
  20.  
  21. There would be public, protected and private friends.  They would inheirate
  22. like methods.  The strangeness comes from things like a private friend
  23. which could only be called from the class itself or another  private friend.
  24.  
  25. Ken Walter
  26.  
  27. * All the above is hearsay and the opinion of nobody in particular
  28. ---
  29. [ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
  30. [ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
  31. [ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
  32. [ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
  33. [ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
  34.